package com.wanng.quartz.entity;

import com.wanng.quartz.tools.SDFUtil;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import java.util.Date;

public class HelloJob implements Job {
    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        System.out.println("HelloJob.execute" + SDFUtil.formatDate(new Date()) + Thread.currentThread().getName());
    }
}
